package com.example.ymm.modules1.service.hl.ex;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.hl.ex.ExTeam;
import com.example.ymm.modules1.entity.hl.ex.ExTeamRule;
import com.example.ymm.modules1.query.hl.ex.ExTeamRuleQueryCriteria;

import java.util.List;

public interface ExTeamRuleService extends BaseService<ExTeamRule> {


    TableList<ExTeamRule> list(ExTeamRuleQueryCriteria criteria, YmPageDto ymPage);

    List<ExTeamRule> queryAll(ExTeamRuleQueryCriteria criteria);


    /**
     * 初始化规则
     */
    void initRule();


    void saveTeamRules(ExTeam team);


}
